package com.wx.mall.feign.hystrix;

import com.wx.mall.common.api.CommonResult;
import com.wx.mall.common.utils.DataResult;
import com.wx.mall.common.vo.sys.LoginLogVO;
import com.wx.mall.feign.LoginLogFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;

@Slf4j
@Component
public class LoginLogFeignClientHystrix implements LoginLogFeignClient {
    @Override
    public CommonResult add(@Valid LoginLogVO vo) {
//        log.error("=============>>>> FeignDemoClientHystrix <<<=============");
//        log.error("method: {}, params：{}","add(HttpServletRequest request)",request);
//        log.error("=============>>>> FeignDemoClientHystrix <<<=============");
        return null;
    }
}
